package com.ssy.lingxi.member.merchant.model.vo.info.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;
import java.util.Map;

/**
 * 会员能力 - 会员信息查询 - 新增角色接口参数VO
 * @author 万宁
 * @version 2.0.0
 * @date 2020-09-14
 */
public class MemberInfoAddRoleVO implements Serializable {
    private static final long serialVersionUID = -695166084647585360L;

    /**
     * 会员类型Id
     */
    @NotNull(message = "会员类型Id要大于0")
    @Positive(message = "会员类型Id要大于0")
    private Long memberTypeId;

    /**
     * 角色Id
     */
    @NotNull(message = "角色类型Id要大于0")
    @Positive(message = "角色类型Id要大于0")
    private Long roleId;

    /**
     * 会员注册资料，Map对象类型
     * Key为获取页面内容接口返回的fieldName，value为用户填写的内容
     */
    private Map<String, Object> detail;

    public Long getMemberTypeId() {
        return memberTypeId;
    }

    public void setMemberTypeId(Long memberTypeId) {
        this.memberTypeId = memberTypeId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public Map<String, Object> getDetail() {
        return detail;
    }

    public void setDetail(Map<String, Object> detail) {
        this.detail = detail;
    }
}
